package k2_oop.p1_classAndObject.demo07;

public class TestDemo7 {
    public static void main(String[] args) {

        Box box = new Box();

        box.height = 10;
        box.weight = 5;
        box.length = 2;

        box.getBulk();
        int area = box.getSuperficialArea();
        System.out.println("立方体的表面积为："+area);


    }
}
